#include <p32xxxx.h>
#include <sys/asm.h>
#include "ISR_Support.h"

	.set	nomips16
	.set 	noreorder

	.extern xISRStackTop
 	
	.extern Serial_Rx_IntHandler
	.extern Serial_Tx_IntHandler
	.global	Serial_Tx_IntWrapper

	.set	noreorder
	.set 	noat
	.ent	Serial_Tx_IntWrapper

Serial_Tx_IntWrapper:
	portSAVE_CONTEXT
	jal Serial_Rx_IntHandler
	jal Serial_Tx_IntHandler
	nop
	portRESTORE_CONTEXT
	.end	Serial_Tx_IntWrapper

